package tpf.designer.pattern.course8.behavior_pattern3.homework;

public class ValueNode implements Node {

    private boolean value;

    public ValueNode(boolean value) {
        this.value = value;
    }

    @Override
    public boolean interpret() {
        return this.value;
    }
}
